Skip to content

feat(inspector): sliders, a color picker with gradients and a grid chooser beside the Design fields (0.33.0) - #43

Merged
nodemode-ai merged 31 commits into
mainfrom
feat/issue-36-reply-0.33.0
Nov 27, 2026
Merged

nodemode-ai merged 31 commits into
mainfrom
feat/issue-36-reply-0.33.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat(inspector): sliders, a color picker with gradients and a grid chooser beside the Design fields (0.33.0)

Summary

  • Seventeen Design fields have a control beside their text box. The text box stays and holds the stored value; a control only writes into it, so var(--accent), calc(...) and anything else typed works as before. Cause of the report: the Design tab was a column of text boxes that expect typed CSS.
  • Sliders with a unit list on Opacity, Width, Height, Max width, Gap, Padding, Margin, Radius, Font size, Line height, Letter spacing, Top and Left. Each range and step is fixed per property and unit and never depends on the value. The unit list keeps the number and does not convert.
  • A color picker on Color and Background: a square for saturation and brightness, hue and opacity bars, a hex or rgb() box, the site's, brand and team colors by name, an eyedropper where the browser has one, and No color. A named color is written as its var(), a free color as hex. The brand restriction offers only brand and team colors.
  • A Gradient tab on Background: linear or radial, stops added, dragged, recolored and removed, an angle or direction, reverse. It writes one plain CSS gradient that the export keeps, and leaves a value it cannot represent exactly as typed.
  • A layout chooser on Grid columns and Grid rows with drawn, named layouts, and Make this element a grid in one undo step.
  • A switch in each field's label turns that field back into plain CSS text. Preferences > Interface > Design fields and View > Show controls in Design fields set the default, kept in this browser only and never in the site.
  • One drag, one click or one held key is one undo step. Resting the pointer on a choice changes nothing on the page. A drag cut off by a selection or breakpoint change writes nothing. Delete and Backspace never remove an element while the focus is on anything a control adds.
  • Fixed: a click on the name of a Design field that had a value pressed its Reset link. Fixed: the selection path above the canvas was hidden or cut without an ellipsis in narrow windows.
  • For agents: one new command, view.design-controls. No engine, model, service or file format change; style values are still CSS strings set with node.update.

Commits

Oldest first, release commit last. The short hashes change when the commits are signed, so they are left out.

  • fix(inspector): a click on the name of a Design field that has a value puts the cursor in the field instead of pressing its Reset link
  • fix(stage): the selection path above the canvas is shown at every window width, the selected name starts at its first letter and ends in an ellipsis when it does not fit, and the address, width note and scrubber give way first
  • feat(inspector): Design fields can carry a control beside their text input, starting with a slider and unit chooser on thirteen size and spacing fields; the typed value stays the one stored value, one drag or held key is one undo step, a value the control cannot show is left as typed, and a switch in the field's label, a Preferences setting and View > Show controls in Design fields turn the controls off
  • feat(inspector): Color and Background show a swatch that opens a color picker with a saturation and brightness square, hue and opacity bars, a hex or rgb() entry, the site's, brand and team colors by name, an eyedropper where the browser has one, and No color; a free color is written as hex, a named color as its var(), and the brand restriction offers only brand and team colors
  • feat(inspector): Grid columns and Grid rows show a button with a drawing of the current layout that opens a chooser of drawn, named layouts; choosing one writes plain CSS tracks, a typed value the chooser knows marks its entry, and on an element that is not a grid Make this element a grid sets Display and the tracks in one undo step
  • i18n: the 73 new strings of 0.33.0 (Design field controls, the color picker, the Gradient tab, the grid chooser and the Preferences setting) in all 23 languages, and the color-stop word in Polish, Finnish and Hungarian where it read as a bus stop
  • feat(inspector): the Background picker has a Gradient tab: linear or radial, stops that can be added, dragged, recolored and removed, an angle or direction, and reverse; it writes one plain CSS gradient, opens a typed gradient it can represent, and leaves any other value exactly as typed
  • docs(hashout): frontend v0.33.0, the control contract and its slots, values in flight and cut-off gestures, the keys a control keeps, fixed slider scales, how colors and gradients are written, the grid chooser, and the path above the canvas
  • docs(guide): the guide, manual, agent quickstart and wiki describe sliders and units, the color picker, the Gradient tab, the grid chooser, the switch back to CSS text and the keys inside the controls, with four new pictures and three retaken
  • fix(inspector): a stored value with a long run of numbers no longer stalls the window when a control reads it, a gradient stop is painted as a color only, text typed before switching to another app is kept, a choice on a newly selected element is not skipped after a drag was cut off, and rgb() with four space-separated numbers and no slash is refused as CSS refuses it
  • test(editor): reading and stepping one number with its unit and the fixed scale of each slider, hex, rgb() and hue, saturation and brightness round trips, which gradients the tab can represent and what it writes back, and which typed grid tracks match a drawn layout (272 tests)
  • test(window): the Design field controls in the real window: typed values kept, one gesture one undo step, cut-off gestures writing nothing, Delete and Backspace never removing an element from a control, the slider, the color picker, the Gradient tab, the grid chooser, the switch to CSS text, and the path above the canvas at five widths (123 tests)
  • docs(changelog): 0.33.0, controls beside the Design fields, with the test counts and known gaps, and the log's note on the late fixes and the tests
  • chore(release): bump version to 0.33.0

Version

v0.33.0 (the release commit is last). Version sites bumped: VERSION, frontend/package.json, frontend/package-lock.json (two fields), native/Cargo.toml, native/Cargo.lock (four crates), backend/app/config.py, src-tauri/Cargo.toml, src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the README badge, .docs/wiki/Home.md, and the harness SKILL.md in .claude and its mirror in .agents.

This is the second of five stacked releases (0.32.0 to 0.36.0). It is stacked on the 0.32.0 pull request and must merge after it. Only 0.36.0 is meant to be built and published.

Checks

Run on Linux in the build workspace, on the last commit's content:

  • cargo test --release --locked in native/: 182 passed.
  • Service tests (pytest, backend/tests): 612 passed.
  • Editor function tests (vitest): 663 passed in 28 files.
  • Window tests (pytest and Playwright 1.63.0, Chromium, against a fresh build): 328 passed.
  • tsc --noEmit and the editor build: clean. No dependency added.
  • ./formweb i18n check (3,014 keys in 23 languages), ./formweb agents sync --check, ./formweb comparisons status: all pass, no action.
  • Each feature was run in the built editor under 4x CPU throttling and a slow network by an agent that did not build it, three times: a full run (32 of 35 plan lines passed, 8 defects found), a full re-run after the fixes (all 8 seen fixed, 1 new defect found), and a targeted third check (fixed, nothing new). The pages used are kept outside the repo.
  • Each new test was written after its feature had been seen to work, and was seen to fail against the 0.32.0 code and once with a wrong expected value. Every new window file passed three runs in a row.
  • An independent review of the whole change: no blocker, one major finding (a stored value with a long run of numbers could stall the window when a control read it) and five minor ones, fixed in this pull request.

Not run: touch, a pen, a screen reader, Firefox, Safari, and the desktop app's web views on Windows and macOS; the eyedropper (the test browser cannot open it); team library colors other than through the brand group; 18 of the 23 languages on screen. The last fixes after the review were checked by the unit and window suites and one builder's run, not by a fourth independent run. The translations are machine made and unread by native speakers. Known gaps are listed in the changelog.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

… a minimum of 0.5 s instead of 2.6 s, and the shell writes one start-up line to its log with the milliseconds at which the service started, the service answered, the editor was ready and the window was shown
…_MACOSX and dot folders toward its 1,000 limit, refuses a project's source with advice to build it and import the output folder, takes loose .html files as JSON on the same two routes, and ends every refusal by saying nothing was imported
… for one or several .html files, which become new pages through the same review as a site zip or, for one file, a section of the open page that the canvas then brings into view; the import view shows HTML files, a site zip and pasted code as three separate parts, starts clean on every pick and after an undone import, and keeps its place when a review or a refusal appears
…nvas says Page script and can be clicked and selected, its layer has its own icon, Content opens on its code, and Design and Motion say they do not apply to it; a code section's block says Code section
…e canvas, and resting on an element outlines it and tints its layer, without selecting or scrolling; nothing shows during drags, text editing, open menus or Preview, and View > Show hover outlines turns it off
…over outlines and the site import's fixed refusals) in all 23 languages
…nder its src folder, a page with a build placeholder, or a module that imports a package by name with no import map; a loose file holding text that is not valid is refused instead of failing; video segments named .ts are no longer called scripts; and the reader that words a refusal stops after 200,000 records or 16 MiB of file list
…s-1252, as a page inside a zip is, so accented letters arrive intact; after a refused pick nothing can be imported until a new pick, and the refusal sentence stays in view
…efore an archive is opened, the source-project refusals and the sites that must still import, loose .html files against a zip of the same files, and every refusal ending with nothing imported and the site unchanged (99 cases)
…he panes show for one, hover outlines for mouse, pen and the blocked cases, and the import view's picks, decoding of picked files and refusals (62 tests)
… pages and as a section, a file that is not UTF-8 against the same file in a zip, a refused pick, the Page script block and its panes, and hover outlines with their switch (34 tests)
…service found already running and each moment that was not reached (6 tests)
…g and source-project advice, the Page script, hover outlines and the desktop start
…et and decoding, the Page script recognised from stored data, hover outlines attached from outside the canvas, and the shell's start-up times
…e parsing, the reader that only words a refusal, the source-project rule and the loose-files form
…desktop testing steps and wiki describe Import HTML files, the import limits and refusals, the Page script, hover outlines and the start-up line
…e puts the cursor in the field instead of pressing its Reset link
…dow width, the selected name starts at its first letter and ends in an ellipsis when it does not fit, and the address, width note and scrubber give way first
…input, starting with a slider and unit chooser on thirteen size and spacing fields; the typed value stays the one stored value, one drag or held key is one undo step, a value the control cannot show is left as typed, and a switch in the field's label, a Preferences setting and View > Show controls in Design fields turn the controls off
…r picker with a saturation and brightness square, hue and opacity bars, a hex or rgb() entry, the site's, brand and team colors by name, an eyedropper where the browser has one, and No color; a free color is written as hex, a named color as its var(), and the brand restriction offers only brand and team colors
…ing of the current layout that opens a chooser of drawn, named layouts; choosing one writes plain CSS tracks, a typed value the chooser knows marks its entry, and on an element that is not a grid Make this element a grid sets Display and the tracks in one undo step
…picker, the Gradient tab, the grid chooser and the Preferences setting) in all 23 languages, and the color-stop word in Polish, Finnish and Hungarian where it read as a bus stop
…radial, stops that can be added, dragged, recolored and removed, an angle or direction, and reverse; it writes one plain CSS gradient, opens a typed gradient it can represent, and leaves any other value exactly as typed
…values in flight and cut-off gestures, the keys a control keeps, fixed slider scales, how colors and gradients are written, the grid chooser, and the path above the canvas
…iders and units, the color picker, the Gradient tab, the grid chooser, the switch back to CSS text and the keys inside the controls, with four new pictures and three retaken
…talls the window when a control reads it, a gradient stop is painted as a color only, text typed before switching to another app is kept, a choice on a newly selected element is not skipped after a drag was cut off, and rgb() with four space-separated numbers and no slash is refused as CSS refuses it
…ixed scale of each slider, hex, rgb() and hue, saturation and brightness round trips, which gradients the tab can represent and what it writes back, and which typed grid tracks match a drawn layout (272 tests)
…ues kept, one gesture one undo step, cut-off gestures writing nothing, Delete and Backspace never removing an element from a control, the slider, the color picker, the Gradient tab, the grid chooser, the switch to CSS text, and the path above the canvas at five widths (123 tests)
…test counts and known gaps, and the log's note on the late fixes and the tests
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 27, 2026 07:26
@nodemode-ai
nodemode-ai merged commit a01210b into main Nov 27, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the feat/issue-36-reply-0.33.0 branch November 27, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant